package com.yzcrm.common.task;


import com.yzcrm.common.config.redis.Redis;
import com.yzcrm.common.config.redis.RedisManager;
import com.yzcrm.common.constant.BaseConstant;

/**
 * 定时扫描延期任务
 */
public class CodeNumUpdateCron implements Runnable {

    @Override
    public void run() {

        Redis redis = RedisManager.getRedis();
        redis.set(BaseConstant.GENERATE_CODE_KEY, 0);

    }
}
